package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class BankWithdrawAction implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long withdrawId;
    private BigDecimal amount;
    private String nameOnCard;
    private String cardNumber;
    private String transactionNumber;
    private String transactionDate;
    private String transactionTime;
    private Long adminId;
    private String resultCode;
    private String resultMsg;
    private Boolean isChecked;
    private String checkResultCode;
    private String checkResultMsg;
    private Boolean isCrossBank;
    private Integer result; // 0初始化;1成功;23未知

    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;
}
